<?php

namespace App\Http\Models;

use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Database\Eloquent\SoftDeletes;

class Student extends Authenticatable
{
    protected $table        = 'student';
    protected $primaryKey   = 'std_id';
    protected $fillable     = ['std_name','password','std_email','std_birthday','std_phone','std_sex','std_pic','std_desc'];
    //使用软删除
    use SoftDeletes;
    protected $dates = ['deleted_at'];
}
